package com.sirui.x.busi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "order")
@RequestMapping("order")
public interface OrderFeign {

	@RequestMapping("create")
	String create(@RequestParam("userId") String userId, @RequestParam("commodityCode") String commodityCode,
			@RequestParam("orderCount") int orderCount);

}
